@import './variables.less';

body {
  overflow: hidden;
  font-family: PingFangSC-Regular, PingFang SC;
}
ul {
  list-style-type: none;
  padding: 0;
  margin: 0;
}
.warning {
  color: #faad14;
}
.error {
  color: rgba(245, 34, 45, 1);
}
.title-common-height {
  height: 56px;
}

.title-common-height-second {
  height: 112px;
}

.title-common-height-three {
  height: 168px;
}

.change-handle-button {
  justify-content: right;
}

.back-white {
  background-color: white;
}

.text-center {
  text-align: center;
}

.flex-row {
  display: flex;
}

.flex-align-center {
  align-items: center;
}

.flex-hv-center {
  display: flex !important;
  align-items: center;
  justify-content: center;
  height: 100%;
}

.flex-col {
  display: flex;
  flex-direction: column;
}

.flex-1 {
  flex: 1;
}

.table-button {
  border: none;
  color: red;
}

.jc-sb {
  justify-content: space-between;
}

.padding-10 {
  padding: 10px !important;
}

.p-l-5 {
  padding-left: 5px !important;
}

.m-b-10 {
  margin-bottom: 10px !important;
}

.m-b-20 {
  margin-bottom: 20px !important;
}

.m-t-15 {
  margin-top: 15px !important;
}

.m-r-10 {
  margin-right: 10px !important;
}

.m-l-5 {
  margin-left: 5px !important;
}

.m-l-10 {
  margin-left: 10px !important;
}

.margin-10 {
  margin: 10px !important;
}

/* -------------------------自定义部分---------------------------- */
.icon {
  width: 90px;
  height: 74px;
}

.iconfont {
  font-family: 'iconfont' !important;
  font-size: 14px !important;
  line-height: 14px;
  color: @main-color !important;
  cursor: pointer;
  font-style: normal;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.iconfont-sm {
  font-size: 12px;
  margin-right: 5px;
}
.iconfont-md {
  font-size: 18px;
  margin-right: 5px;
}

.iconfont-lg {
  font-size: 22px;
  margin-right: 5px;
}

.iconfont.iconfont-yellow {
  color: #faad14;
}

.iconfont.iconfont-red {
  color: #db2424;
}

.iconfont.iconfont-green {
  color: #52c41a;
}

.iconfont-img {
  font-family: 'iconfont' !important;
  font-size: 88px;
  line-height: 88px;
  color: @main-color;
  font-style: normal;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.iconfont[disabled] {
  color: #bfbfbf !important;
  cursor: not-allowed;
}

/* -------------------------样式部分---------------------------- */

.hcp__table {
  margin: auto;

  td,
  th {
    padding: 5px;
    border: 1px solid #eee;
  }
}

.three__container {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-gap: 10px;
}

.table-buttons {
  button {
    margin-right: 10px;
  }
}

.hcp__form {
  background-color: white;
  margin-bottom: 10px;
  padding: 10px;

  &__row {
    margin: 0 -5px !important;
    &__buttons {
      text-align: right;

      button:not(:last-child) {
        margin-right: 10px;
      }
    }

    .hcp-form-item-label {
      min-width: 85px;
      text-align: left;
    }

    .hcp-form-item-control {
      flex: 1;
    }
  }
}

.hcp__search__container {
  padding: 20px 4px 20px 20px;
  margin-bottom: 10px;
  background: white;

  .hcp__form {
    display: flex;
    flex-wrap: wrap;

    .hcp-form-item {
      margin-bottom: 20px;
      margin-right: 60px;

      .hcp-form-item-label {
        width: 90px;
      }

      .hcp-form-item-control {
        width: 224px;
        flex: none;

        // .hcp-input {
        //   padding: 4px 11px;
        // }
      }
    }

    .hcp-form-item:nth-last-child(2) {
      margin-right: 30px;
    }
  }

  .hcp__form__actions {
    margin-bottom: 20px;

    button:not(:last-of-type) {
      margin-right: 10px;
    }
  }
}

.hcp__search__collapse {
  padding: 20px 20px 0px 20px;
  margin-bottom: 10px;
  background: white;

  .hcp__form {
    display: flex;
    flex-wrap: wrap;
    padding: 0;

    .hcp-form-item {
      margin-bottom: 20px;
      // display: inline-block;

      .hcp-form-item-label {
        width: 80px;
      }

      .hcp-form-item-control {
        width: 224px;
        flex: none;
      }
    }

    .hcp-form-item:nth-last-child(2) {
      margin-right: 30px;
    }
  }

  .hcp__form__actions {
    margin-bottom: 20px;

    button:not(:last-of-type) {
      margin-right: 10px;
    }
  }
}

.hcp_toolbar {
  .hcp_toolbar_refresh {
    // width: 50px;
    height: 32px;

    .anticon svg {
      width: 20px;
      height: 22px;
    }
  }

  .hcp_toolbar_refresh-with-text {
    height: 32px;
  }
}

.hcp_search_bar {
  float: right;
  padding: 0;

  .hcp__form {
    margin-bottom: 0;

    .hcp-form-item {
      margin-bottom: 0;
    }
  }
}
.hcp-modal-body {
  .hcp_toolbar_refresh {
    width: 40px;
  }
}
.hcp_modal_search {
  min-height: 40px;
  .hcp_toolbar_refresh {
    width: 40px;
  }
  .hcp_modal_search_title {
    height: 25px;
  }
  .hcp_search_bar {
    float: left;
  }
  .hcp-btn:last-child {
    float: right;
  }
}
.steps-action {
  .hcp-form-item {
    margin-bottom: 0;
  }
}

.info__container {
  background-color: white;
  padding: 20px;

  .hcp-form-item {
    margin-bottom: 10px;
  }

  &:not(:last-child) {
    margin-bottom: 10px;
  }

  &__header {
    font-size: @base-font-size;
    font-weight: 500;
    padding: 10px;

    span {
      margin-right: 15px;
    }
  }

  &__actions {
    margin-bottom: 10px;

    button {
      margin-right: 10px;
    }
  }

  .hcp-tabs-top > .hcp-tabs-nav {
    margin-bottom: 10px;
  }

  .hcp-tabs-bar {
    margin-bottom: 10px !important;
  }

  .hcp-tabs-tab {
    font-size: 14px;
    padding: 12px 16px !important;
  }
}

.hcp-table-content {
  overflow-x: auto !important;
}

.hcp__page {
  display: flex;
  height: calc(100% - 42px);

  &__container {
    flex: 1;
    overflow: auto;
  }

  &__lr__layout {
    display: flex;

    &__left__container {
      height: calc(100vh - 126px);
      position: sticky;
      top: 0;
    }

    &__right__container {
      flex: 1;
    }
  }
}

.hcp__card {
  // background-color: white;

  &:not(:last-child) {
    margin-bottom: 10px;
  }

  //新加的
  &__tree {
    width: 260px;
    //background-color: red;
    border-right: rgb(215, 215, 215) solid 1px;
  }

  &__header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 20px;
    border-bottom: 1px solid #eee;

    &__title {
      font-size: 14px;
      font-weight: 500;
      color: #333;
      line-height: 22px;

      &__detail {
        margin-left: 10px;
        color: @main-color;
        cursor: pointer;
      }
    }
  }

  &__content {
    padding: 5px;

    &__actions {
      // overflow: hidden;
      margin-bottom: 20px;

      button:not(:last-child) {
        margin-right: 10px;
      }

      // button:last-child {
      //   float: right;
      // }
    }
  }
}

.hcp-select {
  .hcp-select-selection-item-remove {
    svg {
      vertical-align: top;
    }
  }
}

.react-resizable {
  position: relative;
  background-clip: padding-box;
}

.react-resizable-handle {
  position: absolute;
  width: 10px;
  height: 100%;
  bottom: 0;
  right: -5px;
  cursor: col-resize;
  z-index: 1;
}

.m__search__container {
  background-color: white;
  margin-bottom: 10px;
}

.m__type__container {
  padding: 10px;
  border-bottom: 1px solid #eee;
}

.m__search__content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 0 10px 10px;

  .m__time__container {
    display: flex;
  }

  .m__butotns__container {
    margin-right: 32px;

    button {
      margin-left: 10px;
    }
  }
}

.tabs__container {
  background: white;

  .hcp-tabs-nav-container {
    padding: 10px 30px 0;
  }

  .hcp-tabs-bar {
    margin: 0px !important;
  }

  .hcp-tabs-tab {
    font-size: 14px;
    padding: 12px 16px !important;
  }
}

.table__actions {
  a:not(:last-child) {
    margin-right: 10px;
  }
}

.m__detail__type {
  margin-bottom: 10px;
  display: grid;
  gap: 10px;
  grid-template-columns: repeat(4, 1fr);

  div {
    height: 100px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    color: white;

    &:nth-child(1) {
      background-color: rgba(88, 163, 247, 1);
    }

    &:nth-child(2) {
      background-color: rgba(254, 192, 61, 1);
    }

    &:nth-child(3) {
      background-color: rgba(82, 193, 245, 1);
    }

    &:nth-child(4) {
      background-color: rgba(251, 98, 96, 1);
    }

    p {
      margin: 0;

      &:last-child {
        font-size: 20px;
        font-weight: 600;
      }
    }
  }
}

//table filter右侧
// .hcp-dropdown-trigger {
//   position: fixed;
//   height: 54px;
//   z-index: 2;
//   right: 20px;
//   background: #fafafa;
// }

// .hcp-dropdown-open {
//   background: #e5e5e5;
// }
.hcp__table__setting {
  .hcp-dropdown-trigger {
    width: 50px;
  }
}

.hcp-table-tbody > .hcp-table-row > td,
.hcp-table tfoot > tr > th,
.hcp-table tfoot > tr > td {
  padding: 8px 5px 8px 16px !important;
}

.hcp-tree .hcp-tree-treenode-disabled .hcp-tree-node-content-wrapper {
  color: inherit !important;
  cursor: not-allowed;
}

.mon__conditions {
  background: white;
  padding: 22px 30px;
  margin-bottom: 10px;
}

.mon__padding {
  padding: 30px 30px 40px;
}

.mon__chart__content {
  display: grid;
  gap: 40px;
  grid-template-columns: repeat(2, 1fr);
}

.mon__chart__header {
  margin-bottom: 30px;
}

.ml-40 {
  margin-left: 40px;
}
.hcp-radio-button-wrapper {
  border-top-width: 1px !important;
}
.hcp-radio-button-wrapper:first-child {
  border-radius: 3px 0 0 3px !important;
}

.hcp-radio-button-wrapper:last-child {
  border-radius: 0 3px 3px 0 !important;
}

.hcp-radio-button-wrapper:first-child:last-child {
  border-radius: 3px !important;
}

.hcp-radio-inner {
  top: 1px;
}

.hcp-tabs-tab {
  padding: 12px 16px !important;
  &.hcp-tabs-tab-active .hcp-tabs-tab-btn {
    font-weight: 600 !important;
  }
}

.dot {
  display: inline-block;
  width: 4px;
  height: 4px;
  background: #5279df;
  border-radius: 50%;
  margin: 3px 8px;
}

.hcp-tree-indent-unit {
  width: 10px !important;
}

.hcp__page {
  .hcp__page__container {
    .title-common-height {
      .hcp__form__row {
        .hcp-col-7 {
          padding-left: 0 !important;
          padding-right: 0 !important;
          margin-right: 60px !important;

          .hcp-form-item-control {
          }
        }

        .hcp-col-7:nth-child(3) {
          margin-right: 0px !important;
        }

        .hcp-form-item-label {
          min-width: 62px !important;
          text-align: right !important;
        }
      }
    }

    .title-common-height-second {
      .hcp__form__row {
        .hcp-col-7 {
          padding-left: 0 !important;
          padding-right: 0 !important;
          margin-right: 60px !important;

          .hcp-form-item-control {
          }
        }

        .hcp-col-7:nth-child(3) {
          margin-right: 0px !important;
        }

        .hcp-col-7:nth-child(6) {
          margin-right: 0px !important;
        }

        .hcp-col-14 {
          padding-left: 0 !important;
          padding-right: 0 !important;
          margin-left: 60px !important;
        }

        .hcp-form-item-label {
          min-width: 62px !important;
          text-align: right !important;
        }
      }
    }

    .title-common-height-three {
      .hcp__form__row {
        .hcp-col-7 {
          padding-left: 0 !important;
          padding-right: 0 !important;
          margin-right: 60px !important;

          .hcp-form-item-control {
          }
        }

        .hcp-col-7:nth-child(3) {
          margin-right: 0px !important;
        }

        .hcp-col-7:nth-child(6) {
          margin-right: 0px !important;
        }

        .hcp-form-item-label {
          min-width: 62px !important;
          text-align: right !important;
        }
      }
    }
  }
  // 资源申请
  .hcp-resource-create {
    .steps-header {
      padding: 0px 40px;
      background-color: #ffffff;
      height: 60px;
      margin-bottom: 10px;
      display: flex;
      align-items: center;
      .hcp-steps-item-process,
      .hcp-steps-item-finish {
        .hcp-steps-item-container
          > .hcp-steps-item-content
          > .hcp-steps-item-title {
          color: #323c5a;
          font-weight: 500;
        }
        .hcp-steps-item-icon {
          border: 1px solid @main-color;
        }
      }
      .hcp-steps-item-wait
        > .hcp-steps-item-container
        > .hcp-steps-item-content
        > .hcp-steps-item-title {
        color: #999;
      }
      .hcp-steps-item-icon {
        border: 1px solid rgba(0, 0, 0, 0.15);
      }
      .hcp-steps-item-finish .hcp-steps-item-icon {
        border-color: @main-color;
      }
      .hcp-steps-item-title::after {
        background-color: #e9e9e9;
      }
    }
    .hcp-resource-create-content {
      // height: calc(~'100% - 70px');
    }
    .steps-content-wrapper {
      // height: calc(~'100% - 82px');
      overflow: auto;
    }
    .steps-content {
      margin-top: 10px;
      padding: 26px 0 8px 0;
      background-color: #ffffff;
      box-shadow: 1px 1px 4px 0px rgba(206, 206, 206, 0.3);
      .divider {
        height: 2px;
        background-image: linear-gradient(
          to right,
          #bfbfbf 0%,
          #bfbfbf 50%,
          transparent 50%
        );
        background-size: 14px 1px;
        background-repeat: repeat-x;
      }
    }
    .steps-content:first-child {
      margin-top: 0px;
    }
    .steps-content-subnet {
      padding-top: 0;
      .hcp-page-header-heading-title {
        font-size: 16px;
        color: @font-color;
      }
    }
    .steps-action {
      margin: 10px 0 0 0;
      padding: 20px;
      background: #fff;
      text-align: right;
    }
    .hcp-form-item-control-input-content {
      .tips {
        color: #999;
      }
    }
    .steps-content-detail {
      padding: 20px 30px;
      .steps-content-part-title {
        font-size: 16px;
        margin-bottom: 10px;
        font-weight: bold;
        color: @font-color;
      }
      .steps-content-part {
        padding: 0 50px;
        .hcp-descriptions {
          padding-bottom: 5px;
          margin-bottom: 12px;
          border-bottom: 1px dashed #c9cdd4;
          .hcp-descriptions-title {
            color: @font-color;
          }
          .hcp-descriptions-item-label {
            color: @font-color;
          }
          .hcp-descriptions-item-content {
            color: #666666;
          }
        }
        .hcp-descriptions:last-child {
          border-bottom: none;
          margin-bottom: 0px;
        }
      }
      .steps-content-part-vpc {
        .hcp-descriptions {
          padding-bottom: 0px;
          margin-bottom: 0px;
          border-bottom: none;
        }
      }
    }
    .hcp-slider {
      .hcp-slider-rail {
        height: 7px;
        background-color: #f0f2f5;
      }
      .hcp-slider-track {
        height: 7px;
      }
      .hcp-slider-handle {
        margin-top: -4px;
      }
      .hcp-slider-dot {
        top: 0;
        width: 7px;
        height: 7px;
        border-color: #f0f2f5;
        background-color: #f0f2f5;
      }
      .hcp-slider-dot-active {
        border-color: @main-color;
        background-color: @main-color;
      }
    }
  }
}

.wrapper {
  .newW {
    .hcp-row {
      .hcp-form-item {
        .hcp-form-item-label {
          width: 180px;
          text-align: right;
        }

        .hcp-form-item-control {
          display: inline-block !important;
          width: 50%;
        }
      }

      .hcp-row-change-upload {
        .hcp-form-item-control {
          width: 75%;

          .upload {
            .hcp-upload-list {
              display: none;
            }
          }
        }
      }

      .hcp-row-change-last {
        .hcp-form-item-control {
          width: 100%;
        }
      }
    }

    .hcp-col {
      .hcp-row {
        .hcp-form-item-label {
          width: 180px;
          text-align: right;
        }
      }
    }
  }

  .nextW {
    .hcp-row {
      .hcp-form-item {
        .hcp-form-item-label {
          width: 180px;
          text-align: right;
        }

        .hcp-form-item-control {
          display: inline-block !important;
          width: 50%;
        }
      }

      .hcp-row-change-upload {
        .hcp-form-item-control {
          width: 75%;

          .upload {
            .hcp-upload-list {
              display: none;
            }
          }
        }
      }

      .hcp-row-change-last {
        .hcp-form-item-control {
          width: 100%;
        }
      }
    }
  }
}

.hcp__table__tooltip {
  p {
    margin: 0;
  }
}

.hcp_alarm_conditons {
  .hcp-col {
    padding-left: 2px !important;
    padding-right: 2px !important;
  }
}
// 表格
.hcp-table {
  .hcp-table-thead > tr > th,
  td {
    border-color: #e5e5e5 !important;
  }
  .hcp-table-thead > tr > th {
    white-space: nowrap;
  }
  th.hcp-table-selection-column,
  td.hcp-table-selection-column {
    .hcp-table-selection {
      padding-left: 8px;
      justify-content: center;
    }
  }
  .hcp-table-cell {
    p {
      margin: 0;
    }

    .hcp-table-column-sorters > span:first-child,
    .hcp-dropdown-trigger .cell_name {
      width: auto;
      overflow: hidden;
      white-space: nowrap;
      text-overflow: ellipsis;
      word-break: keep-all;
      display: inline-block;
      vertical-align: bottom;
    }
    .hcp-table-column-sorters {
      display: block;
      width: 100%;
      & > span:first-child {
        // max-width: calc(100% - 26px);
      }
    }
    .hcp-dropdown-trigger {
      .cell_name {
        margin-right: 6px;
        // max-width: calc(100% - 20px);
      }
    }
  }
  .iconfont {
    font-size: 16px !important;
  }
  .table-filterIcon {
    line-height: 1.5715;
    position: relative;
    top: 1px;
    font-size: 12px !important;
    color: rgba(0, 0, 0, 0.85) !important;
  }
  .table-filterIcon-has {
    .table-filterIcon();
    color: @main-color !important;
  }
}

.iframeForm {
  width: 100%;
  height: 100%;
  position: absolute;
  z-index: 999;
  top: 0;
  left: 0;
  background: white;
}

.hcp_modal_tree {
  position: absolute !important;
  // width: 340px;
  height: 400px;
  top: 33px !important;
}

.hcp_custom_tab {
  // 标签页title
  .hcp-tabs-tab {
    font-size: 14px;
    padding: 8px 16px !important;
  }

  .hcp-tabs-card-bar .hcp-tabs-tab {
    border-radius: 4px 4px 0px 0px !important;
  }

  .hcp-tabs-card-bar .hcp-tabs-tab-active {
    background: rgba(78, 132, 233, 1) !important;
    color: #fff !important;
  }
}

.font-comment {
  font-size: @base-font-size;
}

.font-content {
  font-size: @font-size-content;
  font-weight: 500;
}

.font-tab {
  font-size: @font-size-tab;
  font-weight: 700;
}

.table-status {
  width: 8px;
  height: 8px;
  display: inline-block;
  border-radius: 50%;
  margin-right: 3.5px;
  margin-bottom: 1.5px;
  vertical-align: middle;

  &.success {
    background: rgba(78, 132, 233, 1);
  }

  &.error {
    background: rgba(245, 34, 45, 1);
  }

  &.closed {
    background: rgba(245, 166, 35, 1);
  }

  &.ing {
    background: rgba(247, 83, 22, 1);
  }

  &.deleted {
    background: #bfbdbd;
  }
}

// form内部表格分页样式
.hcp-pagination-options-size-changer.hcp-select {
  width: auto !important;
}

.hcp-pagination
  .hcp-pagination-options
  .hcp-select-single:not(.hcp-select-customize-input)
  .hcp-select-selector {
  border-color: #d9d9d9 !important;
}

//描述列表样式
.hcp-descriptions-row {
  .hcp-descriptions-item-container {
    flex-wrap: wrap;
    .hcp-descriptions-item-content {
      word-break: break-word;
      overflow-wrap: break-word;
    }
  }
}

//云商logo
.woImg,
.wocloudImg,
.unifcloudImg {
  background-image: url(./assets/resource/wocloud.png) !important;
}

.vmwareImg,
.vmwarecloudImg {
  background-size: cover !important;
  background-image: url(./assets/resource/vmware.png) !important;
}

//轮播样式
.hcp-carousel {
  .slick-list {
    width: 100%;
  }

  .slick-dots {
    &.slick-dots-bottom {
      bottom: 0px !important;
      margin-bottom: 0;
    }

    button {
      width: 6px !important;
      height: 6px !important;
      background-color: #fff !important;
      opacity: 1 !important;
      border-radius: 3px !important;
    }

    .slick-active button {
      width: 10px !important;
      background-color: #0b9df8 !important;
    }
  }
}
// 资源详情
.hcp__reaource_detail {
  .hcp__form__row {
    .hcp-col {
      padding-top: 0px !important;
      margin-bottom: 10px;
    }
    .info__container {
      padding: 15px 15px 5px 15px;
      min-height: 150px;
    }
  }
  .info__container {
    padding: 5px 15px 15px 15px;
    .hcp-descriptions {
      padding-left: 8px !important;
      .hcp-descriptions-header,
      .hcp-descriptions-title {
        margin-bottom: 10px;
        color: #323c5a;
      }
      .hcp-descriptions-item-label {
        color: #666;
        white-space: nowrap;
      }
    }
    .info__container__header {
      font-size: 14px;
      color: #414a66;
      font-weight: 500;
      padding: 10px 0;
    }
    .info__container__header:first-child {
      padding-top: 0;
    }
  }
}
//modal
.hcp-modal {
  /* .hcp-modal-confirm-body .hcp-modal-confirm-content {
    display: inline-block;
    vertical-align: text-bottom;
  } */
  .hcp-modal-title {
    font-size: 15px;
    font-weight: bold;
    color: #323c5a;
  }

  .hcp-modal-body {
    padding: 18px 24px 24px 24px;
    .dynamic-delete-button {
      margin-right: 8px;
    }
    .property-enum .hcp-form-item-explain [role='alert']:nth-child(1) {
      display: inline-block;
      width: 130px;
    }
    .property-enum .hcp-form-item-explain [role='alert']:nth-child(2) {
      display: inline-block;
      width: 180px;
    }
    .modal-part-title {
      color: #323c5a;
      font-weight: bold;
      font-size: 14px;
    }
    .hcp-table-thead th {
      color: #323c5a;
    }
    // confirm-content
    .hcp-modal-confirm-content {
      .hcp-content-info {
        display: flex;
        padding: 15px 0 0 30px;
        .anticon {
          font-size: 16px;
          color: #faad14;
          margin-right: 10px;
        }
      }
    }
    .hcp-modal-body-footer {
      padding-top: 10px;
      text-align: right;
      .hcp-form-item {
        margin: 0;
      }
      button {
        margin-right: 15px;
      }
      button:last-child {
        margin: 0px;
      }
    }

    .sub-content {
      margin-top: 6px;
    }

    .gray {
      color: #666666;
    }

    .yellow {
      color: #faad14;
    }

    .red {
      color: #db2424;
    }
  }
}
.hcp-modal-sm {
  width: 434px !important;
}
.hcp-modal-md {
  width: 750px !important;
}
.hcp-modal-lg {
  width: 900px !important;
  &.fixed {
    max-width: 900px !important;
  }
}
.hcp-btn.hcp-btn-text {
  color: @main-color;
  &:hover {
    color: @main-color-hover;
  }
}
//表格操作图标和详情操作图标的分割线
.hcp-card-body,
.hcp-table-cell {
  .hcp-space {
    .hcp-space-item {
      .iconfont,
      a {
        &:after {
          content: '';
          margin-left: 8px;
          border-left: 1px solid #000000;
          height: 16px;
          display: inline-block;
          opacity: 0.09;
        }
      }

      a {
        &:after {
          height: 10px;
        }
      }

      &:last-child {
        .iconfont,
        a {
          &:after {
            border-left: 0;
          }
        }
      }
    }
  }
}
.hcp-space-align-center {
  justify-content: center;
  white-space: nowrap;
}
// 增加表格行按钮
.hcp_table_add_btn {
  width: 100%;
  margin-top: 10px;
  height: 42px !important;
}
// 按钮组
.hcp-radio-group-solid
  .hcp-radio-button-wrapper-checked:not(.hcp-radio-button-wrapper-disabled) {
  background: @main-color;
  border-color: @main-color;
}
// tooltip
.hcp-tooltip {
  .hcp-tooltip-inner {
    box-shadow: 0px 0px 10px 0px rgba(78, 132, 233, 0.28);
  }
}
//popover
.hcp-popover-inner-content {
  max-width: 320px;
  word-break: break-all;
}
// 输入框组合
.hcp-input-group {
  .hcp-btn {
    padding: 5.6px 10px !important;
    span {
      line-height: 15px;
    }
  }
  .hcp-btn:last-child {
    background: @main-color;
    border-color: @main-color;
    color: #fff;
    .anticon-search {
      font-size: 16px;
      position: relative;
      top: 1px;
    }
    span {
      line-height: 15px;
    }
  }
}
// 数字选框
.hcp-input-group-num {
  .hcp-btn {
    span {
      font-size: 28px;
    }
  }
  .hcp-btn:last-child {
    span {
      font-size: 28px;
    }
  }
}
// 下拉输入组合框
.hcp-form-item-control {
  .hcp-input-affix-wrapper {
    height: 32px;
    padding: 6px 10px;
    border-radius: 0 4px 4px 0;
    text-align: left;
  }
}

// 更多操作按钮下的图标
.hcp_menu_more {
  .hcp-dropdown-menu-item {
    .iconfont {
      font-size: 16px;
      margin-right: 5px;
    }
  }
  .hcp-dropdown-menu-item-disabled {
    .iconfont,
    span {
      color: #999999;
    }
  }
}

// 更多操作按钮
.hcp-btn-icon-only {
  svg {
    font-size: 16px;
  }
  .icon-more {
    font-size: 22px;
  }
}
// 清除浮动效果
.hcp_clear_both {
  clear: both;
}
// 可换行span
.block_span {
  white-space: pre-wrap;
  display: inline-block;
  vertical-align: text-top;
}
// 换行span
.block_span_nowrap {
  white-space: nowrap;
  display: inline-block;
  overflow: hidden;
  text-overflow: ellipsis;
  vertical-align: middle;
  width: 100%;
}
.anticon-question-circle {
  font-size: 14px;
}
.hcp-btn[disabled] {
  color: rgba(0, 0, 0, 0.25) !important;
  background: #f5f5f5 !important;
  border-color: #d9d9d9 !important;
}
.hcp-btn-link[disabled] {
  background: transparent !important;
  border-color: transparent !important;
}
.hcp-typography {
  color: #323c5a !important;
}
//表格总数
.table-total-num {
  position: absolute;
  left: 0%;
  font-size: 13px;
  color: gray;
}
.hcp-mc-detail {
  .info__container__header {
    font-size: 14px;
    color: #414a66;
    font-weight: 500;
    padding: 10px 0;
  }
  .info__container__header:first-child {
    padding-top: 0;
  }
}
// cmdb资源目录样式
.breadcrumbs-layout {
  width: 100%;
  height: 54px;
  padding: 14px 20px;
  background-color: #fafbfd;
  margin-right: 17px;
  overflow: hidden;
  position: relative;
  z-index: 100;
  border-bottom: 1px solid #f0f0f0;
}
.field-search-layout {
  width: 100%;
  height: 60px;
  margin-top: -1px;
  padding: 15px 20px 0 5px;
  background-color: #fff;
  z-index: 9999;
}
.card-title {
  display: inline-block;
  height: 60px;
  width: 100%;
  background-color: #fff;
  line-height: 60px;
  font-size: 14px;
  padding-left: 20px;
  margin-top: -1px;
  z-index: 9999;
}
.card-body-middle {
  height: calc(100% - 158px);
  overflow: auto;
}
.hcp-drawer-body {
  position: relative;
  flex-grow: 1;
  overflow-x: hidden;
  .dynamic-delete-button {
    margin-right: 8px;
  }
  .property-enum .hcp-form-item-explain [role='alert']:nth-child(1) {
    display: inline-block;
    width: 130px;
  }
  .property-enum .hcp-form-item-explain [role='alert']:nth-child(2) {
    display: inline-block;
    width: 180px;
  }
  .modal-body-footer {
    width: 100%;
    position: absolute;
    background-color: #fff;
    padding: 10px 16px;
    border-top: 1px solid #f0f0f0;
    bottom: 0;
    padding-bottom: 10px;
    margin-left: -24px;
  }
  .hcp-modal-body-footer {
    width: 100%;
    position: fixed;
    background-color: #fff;
    padding: 10px 16px;
    border-top: 1px solid #f0f0f0;
    bottom: 0;
    padding-bottom: 10px;
  }
}
.hcp-drawer-form {
  padding: 20px 15px 55px 0px !important;
  .modal-body-footer {
    width: 100%;
    position: absolute;
    background-color: #fff;
    padding: 10px 16px;
    border-top: 1px solid #f0f0f0;
    bottom: 0;
    padding-bottom: 10px;
    text-align: right;
  }
}
.field-list-layout {
  width: calc(100% - 5px);
  height: 38px;
  line-height: 38px;
  padding: 0px 0px 0px 10px;
  cursor: pointer;
}
.field-list-item {
  display: inline-block;
  width: calc(100% - 40px);
  overflow: hidden;
  text-overflow: ellipsis;
  vertical-align: top;
  white-space: nowrap;
}
.cmdb_host_pane {
  position: relative;
  width: 100%;
  min-height: 100%;
  background-color: #fff;
}
